<!DOCTYPE html>
<html>
<head>
	<title>06Vue条件渲染 v-if,v-else</title>
	<meta charset="utf-8">
	<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
<div id="app">
	<h1 v-if="awesome">Vue is awesome!</h1>
	<h1 v-else>Oh no 😢</h1>
	<h2 v-if="1==2"> 1==2</h2>
	<h2 v-else>1<=>2</h2>
</div>
</body>
</html>
<script type="text/javascript">
	var app = new Vue({
	  el: '#app',
	  data: {
	    awesome: false
	  },
	  
	});

</script>